package pers.zwj;

import javax.swing.*;

public class GoBangGame extends JFrame {

    public final static int[][] chess = new int[17][17];

    public static void main(String[] args) {
        new GoBangGame();
    }

    public GoBangGame() {
        this.setTitle("欢乐五子棋");
        this.setSize(650, 520);//设置窗口大小
        MyArtboard myArtboard = new MyArtboard();
        this.add(myArtboard);
        this.addMouseListener(myArtboard);
        new Thread(myArtboard).start();
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);

    }


}
